
import 'package:flutter/material.dart';

class LayoutSamplePage2 extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Material(
      child: Container(
        padding: const EdgeInsets.only(top:50),
        child: Container(
          child: Row(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: <Widget>[
              Expanded(
                flex: 1,
                child: Column(
                  children: <Widget>[
                    Container(
                      child: Text('Strawbery Pavlova'),
                    ),

                    Container(
                      child: Text('''
                          Pavlova is a meringue-based dessert named aflter the Russian balllerin Anna Pavlova Pavlov featues a scrisp crus and soft 
                        ''',softWrap: true,),
                    ),

                    Container(
                      child: Row(
                        mainAxisSize: MainAxisSize.min,
                        children: <Widget>[
                          Container(
                            child: Row(
                              children: <Widget>[
                                Icon(Icons.star,color: Colors.blueGrey,),
                                Icon(Icons.star,color: Colors.blueGrey,),
                                Icon(Icons.star,color: Colors.blueGrey,),
                                Icon(Icons.star,color: Colors.blueGrey,),
                                Icon(Icons.star,color: Colors.blueGrey,)
                              ],
                            ),
                          ),
                          Container(
                            child: Text('170 Reviews'),
                          )
                        ],
                      ),
                    ),
                    Container(
                      child: Row(
                        children: <Widget>[
                          Container(
                            child: Column(
                              children: <Widget>[
                                Icon(Icons.book),
                                Text('REP:'),
                                Text('25 min')
                              ],
                            ),
                          ),
                          Container(child: Column(
                            children: <Widget>[
                              Icon(Icons.timer),
                              Text('COOK:'),
                              Text('1 hr')
                            ],
                          ),),
                          Container(child: Column(
                            children: <Widget>[
                              Icon(Icons.book),
                              Text('FEEDS:'),
                              Text('4-6')
                            ],
                          ),)
                        ],
                      ),
                    )

                  ],
                ),
              ),
              Expanded(
                flex: 1,
                child: Image.asset("images/lake.jpg",fit: BoxFit.fill,),
              )
            ],
          ),
        )
      ),
    );
  }
}


